/*
 *
 *
 */

#ifndef WINDOW_DIALOG_H
#define WINDOW_DIALOG_H

#include "gkt_types.h"

#ifdef __cplusplus
extern "C" {
#endif

enum {
	WINDOW_DIALOG_STYLE_OK = 0,
	WINDOW_DIALOG_STYLE_CANCEL_OK,
	WINDOW_DIALOG_STYLE_RETURN_CONTINUE,
	WINDOW_DIALOG_STYLE_MAX
};


enum {
	WINDOW_DIALOG_DECISION_OK = 0,
	WINDOW_DIALOG_DECISION_CANCEL,
	WINDOW_DIALOG_DECISION_MAX
};

typedef struct {
	uint32_t	style;		/* [input] STYLE_OK or STYLE_CANCEL_OK */
	uint32_t	voice_id;	/* [input] */
	uint32_t	timeout;	/* if 0, use default timeout */
	int	decision;	/* [output] decision 
					 *   auto return if timeout:
					 *     STYLE_OK        : DECISION_OK
					 *     STYLE_CANCEL_OK : DECISION_CANCEL
					 */
} window_dialog_data_s;

#ifdef __cplusplus
}
#endif

#endif	/* WINDOW_DIALOG_H */

